package com.gurun.camera.device.view;

import com.danale.player.entity.CloudRecordDevice;
import com.danale.player.entity.SdRecordDevice;
import com.gurun.camera.mvp.IBaseView;

public interface ICloudSdPlayView extends IBaseView {

    /**
     * callback of cloud record information, and caller could start video in the method.
     * @param device
     * @param code  This cloud record can be played only the code == 0, otherwise the cloud record is not be preduced;
     */
    void handleCloudStartVideo(CloudRecordDevice device, int code);

    /**
     * callback of SD card record information, and caller could start video in the method.
     * @param device
     */
    void handleSDStartVideo(SdRecordDevice device);
}
